import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)

export default new Vuex.Store({
  state:{
    msg:false,
    lyn:false,
    kinds:false,
    buy:false,
    server:false,
    club:false,
    bd:'',
  },
  mutations:{
    increment(state){
      state.msg=!state.msg
    },
    lyn(state){
      state.lyn=Boolean(state.lyn)
      state.lyn=!state.lyn
    },
    kinds(state){
      state.kinds=!state.kinds
    },
    buy(state){
      state.buy=!state.buy
    },
    server(state){
      state.server=!state.server
    },
    club(state){
      state.club=!state.club
    }
  }
})
